]> dgit.raspbian.org Git - gnome-shell.git/commit
loginDialog: Ensure timed login indicator is hidden on key presses
authorverdre <gitlab@v0yd.nl>
Tue, 17 Apr 2018 12:30:05 +0000 (14:30 +0200)
committerverdre <gitlab@v0yd.nl>
Thu, 19 Apr 2018 07:08:45 +0000 (09:08 +0200)
commitd7aba2dece6fdcd9d1fb5e73985d3474f30046cc
tree6ded3da214d2bff1b01bf1a708b16decf6fd7c0e
parent35fced27dff5679c50640fcde91283eef444b257
loginDialog: Ensure timed login indicator is hidden on key presses

The timed login feature currently cancels the timed login operation when
a user presses a key but, oddly, only hides the indicator when the user
releases the key. This means that if a user holds down a key that
doesn't key repeat, the timed login indicator will continue to run after
the timed login operation is cancelled.

This commit address the problem by ensuring the timed login indicator is
hidden on any key press event, at the same time the timed login
operation is canceled.
js/gdm/loginDialog.js